#ifndef MOTOR_CONTROL_NODE_PLUS_H
#define MOTOR_CONTROL_NODE_PLUS_H
#include <ros/ros.h>
#include "std_msgs/Bool.h"
class task
{
public:
    // int speed_m = 0;
    // int amplitude_m = 0;
    // int phase_m = 0;
    // int publish_frequency_m = 1; // 1000 Hz (1秒发布1000次)
    // int publish_duration_m = 1;    // 发布时长为10秒
    void automatic();
    void manual();
    int checkEmergencyStop();
};
#endif // MOTOR_CONTROL_NODE_PLUS_H
